<!DOCTYPE html>
<html >
	<head>
		<meta charset="utf-8" />
		<script type="text/javascript" src="../js/angular.js" ></script>
		<title></title>
	</head>
	<body ng-app="app" >
		<div ng-controller="ctrl" >
			测试1：<input	type="radio" ng-model="state" ng-value="0" />
			测试2：<input	type="radio" ng-model="state" ng-value="1" />
			{{state}}
			<div ng-show="!state" >
				测试1
			</div>
			<div ng-show="state" >
				测试3
			</div>
		</div>
		<script>
			var app=angular.module("app",[]);
			app.controller("ctrl",["$scope",function($scope){
				$scope.state=1;
			}]);
		</script>
	</body>
</html>
